<%@ page language="java" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<link rel="stylesheet" type="text/css" href="<%= path %>/accordion/css/main.css">
		
		<script src="<%= request.getContextPath() %>/js/jquery/jquery-1.3.2.min.js" language="javascript"></script>
		<script type="text/javascript" src="<%= path %>/accordion/js/ddaccordion1.9.js"></script>
		<script type="text/javascript">
			ddaccordion.init({
				headerclass: "menuitem", //Shared CSS class name of headers group
				contentclass: "submenu", //Shared CSS class name of contents group
				revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
				mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
				collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
				defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc] [] denotes no content
				onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
				animatedefault: true, //Should contents open by default be animated into view?
				persiststate: true, //persist state of opened contents within browser session?
				toggleclass: ["", "active"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
				togglehtml: ["suffix", "<img src='<%= path%>/accordion/images/minus.gif' class='statusicon' />", "<img src='<%= path%>/accordion/images/plus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
				animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
				oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
				},
				onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
				},
				authheight:false
			})
		</script>
	</head>
	<body style="margin: 0px; padding: 0px;">
		<div class="glossymenu">
			<a class="menuitem" href="#">维护手册管理</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('文档列表','<%= request.getContextPath() %>/word/list_word.jsp')">
								<img src="<%= request.getContextPath() %>/img/select-doc.png"></img><br/>
								<span>文档列表</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			<a class="menuitem" href="#">工时管理</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('工时管理', '<%= request.getContextPath() %>/schedu/main.jsp')">
								<img src="<%= request.getContextPath() %>/img/add-doc.png"></img><br/>
								<span>工时管理</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			<a class="menuitem" href="#">配件管理</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('配件展示','<%= request.getContextPath() %>/module/tree.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>配件展示</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('配件新增', '<%= request.getContextPath() %>/module/insert.jsp')">
								<img src="<%= request.getContextPath() %>/img/package_settings.png"></img><br/>
								<span>配件新增</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('配件修改', '<%= request.getContextPath() %>/module/insert.jsp')">
								<img src="<%= request.getContextPath() %>/img/package_settings.png"></img><br/>
								<span>配件修改</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			
			<a class="menuitem" href="#">电路图管理</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('电路图管理','<%= request.getContextPath() %>/createStore.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>电路图管理</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('电路图管理', '<%= request.getContextPath() %>/user/edit-store!edit.jspb')">
								<img src="<%= request.getContextPath() %>/img/package_settings.png"></img><br/>
								<span>电路图管理</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			<a class="menuitem" href="#">用户管理</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('用户管理','<%= request.getContextPath() %>/createStore.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>用户管理</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('用户管理铺', '<%= request.getContextPath() %>/user/edit-store!edit.jspb')">
								<img src="<%= request.getContextPath() %>/img/package_settings.png"></img><br/>
								<span>用户管理</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			<a class="menuitem" href="#">在线交流</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('在线交流','<%= request.getContextPath() %>/createStore.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>在线交流</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('在线交流', '<%= request.getContextPath() %>/user/edit-store!edit.jspb')">
								<img src="<%= request.getContextPath() %>/img/package_settings.png"></img><br/>
								<span>在线交流</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
			<a class="menuitem" href="#">系统维护</a>
			<div class="submenu">
				<table width="100%">
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('新增车辆系列','<%= request.getContextPath() %>/jsp/sys_maintain/add_vechile_series.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>新增车辆系列</span>
							</a>
						</td>
					</tr>
					<tr>
						<td class="menu">
							<a href="javascript:parent.addTab('目录维护','<%= request.getContextPath() %>/jsp/sys_maintain/category_maintain.jsp')">
								<img src="<%= request.getContextPath() %>/img/package.png"></img><br/>
								<span>目录维护</span>
							</a>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>
